import KoaRouter from 'koa-router'
import { Context, Next } from 'koa'
import Role from '../models/Role'

const router = new KoaRouter()
router.prefix('/user')

router.get('/list', async (ctx: Context, next: Next) => {
  ctx.body = {
    code: 200,
    message: '用户信息获取成功',
    data: '12324'
  }
})
// export {
//   router
// }
export default router
